<?php 
require_once(dirname(__FILE__)."/../../config/config.php"); 

$program_id=$_REQUEST['program_id'];

$sql="select * from zy_iptvprogram_list where program_id=$program_id";

$rs=mysql_query($sql);

$message=array();

while($row=mysql_fetch_array($rs)){	
	
	$message[] =array(
			'program_id'=>$row['program_id'],
			'title'=>$row['title'],
	        'year'=>$row['year'],
			'type_id'=>$row['type_id'],
			'category'=>$row['category'],
	        'country'=>$row['country'],
			'language'=>$row['language'],
			'package_id'=>$row['package_id'],
	        'actor'=>$row['actor'],
			'duration'=>$row['duration'],
			'classification'=>$row['classification'],
	        'score_rating'=>$row['score_rating'],
			'video_link'=>$row['video_link'],
			'is_have_list'=>$row['is_have_list'],
	        'video_info'=>$row['video_info'],
			'pic_link_large'=>$row['pic_link_large'],
	        'pic_link_small'=>$row['pic_link_small'],
			'play_count'=>$row['play_count'],
			'latest'=>$row['latest'],
			'popular'=>$row['popular'],
			'recommend'=>$row['recommend']
		);
	
}

echo json_encode($message);

